package com.up360.rapidcalc.aerolite.servers
{
    import com.up360.rapidcalc.aerolite.dao.ConfigurationDao;
    import com.up360.rapidcalc.aerolite.model.Configuration;

    /**
     * @author Tunie
     * @date   May 2, 2013
     */
    public class ConfigurationServer
    {
        private var _confiDao:ConfigurationDao;
        
        public function ConfigurationServer()
        {
            confiDao=new ConfigurationDao();
        }
        
        public function getConfi(data:Object):Configuration
        {
            return _confiDao.newInstance(data);
        }

        public function set confiDao(value:ConfigurationDao):void
        {
            _confiDao = value;
        }

    }
}